#!/usr/bin python
from plugins.config.config_package import *

class Druid(object):
    def druid_unauthorize(url):
        path = 'druid/index.html'
        res = core.get(url,path)
        if res.status_code == 200 and "druid.index.init();" in res.text:
            core.checksuc(target=url,name='Druid未授权访问',payload='druid/index.html')
        else:    
            pass
